package oopwork;

class User{
    private String Account;
    private String Email;
    private String Password;
    public User(String Account,String Password){
        this.Account=Account;
        this.Password=Password;
    }
    public User(String Account,String Password,String Email){
        this.Account=Account;
        this.Password=Password;
        this.Email=Email;
    }
    public String getAccount() {
        return Account;
    }
    public void setAccount(String account) {
        Account = account;
    }

    public String getEmail() {
        return Email;
    }

    public void setEmail(String email) {
        Email = email;
    }

    public String getPassword() {
        return Password;
    }

    public void setPassword(String password) {
        Password = password;
    }
    public void show(){
        System.out.println("My Account is "+Account+".My Password is "+Password+".My Email is "+Email);
    }

}
public class MyUser {
    public static void main(String[] args) {
        User us1=new User("123","894");
        User us2=new User("587","784","233");
        us1.show();
        us2.show();

    }
}
